const { ccclass, property } = cc._decorator;

@ccclass
export default class MatchGameUnlockPropPage extends cc.Component {
    @property(cc.Node)
    MatchGameUnlockPropPage: cc.Node = null;

    @property(cc.Node)
    lighting: cc.Node = null;

    @property(cc.Node)
    bg: cc.Node = null;

    @property(cc.Node)
    title: cc.Node = null;

    @property(cc.Node)
    skillName: cc.Node = null;

    @property(cc.Node)
    skillNode: cc.Node = null;

    @property(cc.Node)
    hammer: cc.Node = null;

    @property(cc.Node)
    hCount: cc.Node = null;

    @property(cc.Node)
    gun: cc.Node = null;

    @property(cc.Node)
    gCount: cc.Node = null;

    @property(cc.Node)
    arrow: cc.Node = null;

    @property(cc.Node)
    aCount: cc.Node = null;

    @property(cc.Node)
    btn_get: cc.Node = null;

    onLoad() {
        this.MatchGameUnlockPropPage = this.node;
        this.lighting = this.MatchGameUnlockPropPage.getChildByName("lighting");
        this.bg = this.MatchGameUnlockPropPage.getChildByName("bg");
        this.title = this.bg.getChildByName("title");
        this.skillName = this.bg.getChildByName("skillName");
        this.skillNode = this.bg.getChildByName("skillNode");
        this.hammer = this.skillNode.getChildByName("hammer");
        this.hCount = this.hammer.getChildByName("hCount");
        this.gun = this.skillNode.getChildByName("gun");
        this.gCount = this.gun.getChildByName("gCount");
        this.arrow = this.skillNode.getChildByName("arrow");
        this.aCount = this.arrow.getChildByName("aCount");
        this.btn_get = this.bg.getChildByName("btn_get");
    }
}